package com.hpq.user.domain.vo.request.user;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class ModifyNameReq {
    @ApiModelProperty("用户名")
    @NotBlank
    @Length(max = 6,min = 1,message = "用户名命名不规范，请重新命名！")
    private String name;

}
